#!/bin/bash

# Start the trace daemon
#
#ulimit -c 1000000

/opt/hsc/bin/tracelogd &

# Record the thread ids for the started hdwr_svr
sleep 5

TOP_FNMTRACE_ID=$((`ps -ewww | grep tracelogd | head -n 1 | awk {'print $1'}`))

wait $TOP_FNMTRACE_ID
echo "FNM trace daemon stopped on "`date` > /tmp/startFNMtrace.log
